package com.cdd.common.domain.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.List;

/**
 * 市
 * @author xzx
 */
@TableName("ss_cities")
public class SsCities implements Serializable {
    private static final long serialVersionUID = 1L;
    /**
     * id
     */
    @TableId(type = IdType.AUTO)
    private Integer id;
    /**
     *  城市编码
     */
    @TableField("cityid")
    private Integer cityid;
    /**
     *  城市名
     */
    @TableField("city")
    private String city;

    /**
     *  所属省级编码
     */
    @TableField("provinceid")
    private Integer provinceid;

    @TableField(exist = false)
    private List<SsArea> areaList;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getCityid() {
        return cityid;
    }

    public void setCityid(Integer cityid) {
        this.cityid = cityid;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public Integer getProvinceid() {
        return provinceid;
    }

    public void setProvinceid(Integer provinceid) {
        this.provinceid = provinceid;
    }

    public List<SsArea> getAreaList() {
        return areaList;
    }

    public void setAreaList(List<SsArea> areaList) {
        this.areaList = areaList;
    }
}
